package com.guan.ordering_sys.generator.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guan.ordering_sys.generator.entity.Refund;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guan.ordering_sys.vo.RefundExamineVo;
import com.guan.ordering_sys.vo.RefundVo;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 韩思琪
 * @since 2021-06-18
 */
@Repository
public interface RefundMapper extends BaseMapper<Refund> {

    IPage<RefundVo> selectRefundList(Page<RefundVo> refundVoPage);

    RefundExamineVo getExamineList(int refundId);

    int updateExamine(int refundId, String payType, String refundExplian, String examine);
}
